
// 自动生成模板EquipmentMaintenance
package equipment_maintenance
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// equipmentMaintenance表 结构体  EquipmentMaintenance
type EquipmentMaintenance struct {
    global.GVA_MODEL
  MaintenanceOrderNo  *string `json:"maintenanceOrderNo" form:"maintenanceOrderNo" gorm:"comment:保养单号;column:maintenance_order_no;size:50;"`  //保养单号
  EquipmentNo  *string `json:"equipmentNo" form:"equipmentNo" gorm:"comment:设备编号;column:equipment_no;size:50;"`  //设备编号
  Location  *string `json:"location" form:"location" gorm:"comment:所在位置;column:location;size:100;"`  //所在位置
  MaintenanceService  *string `json:"maintenanceService" form:"maintenanceService" gorm:"comment:保养服务;column:maintenance_service;size:50;"`  //保养服务
  MaintenanceStatus  *string `json:"maintenanceStatus" form:"maintenanceStatus" gorm:"comment:保养状态;column:maintenance_status;size:10;"`  //保养状态:
  ServiceEffectiveDate  *time.Time `json:"serviceEffectiveDate" form:"serviceEffectiveDate" gorm:"comment:服务有效日期;column:service_effective_date;"`  //服务有效日期
  MaintenanceDate  *time.Time `json:"maintenanceDate" form:"maintenanceDate" gorm:"comment:保养日期;column:maintenance_date;"`  //保养日期
}


// TableName equipmentMaintenance表 EquipmentMaintenance自定义表名 equipment_maintenance
func (EquipmentMaintenance) TableName() string {
    return "equipment_maintenance"
}





